#include "StdAfx.h"
#include "fit_modul.h"


fit_modul::fit_modul(void)
{
}


fit_modul::~fit_modul(void)
{
}

int fit_modul::getparamcount(){
	int temp=0;
	temp=this->param.size();
	return temp;
}

std::vector<double> fit_modul::f(){
	std::vector<double> temp;
	return temp;
}

std::vector<std::vector<double> > fit_modul::df(){
	std::vector<std::vector<double> > temp;
	return temp;
}

fit_modul::vecma fit_modul::fdf(){
	vecma temp;
	return temp;
}



int fit_modul::setparams(std::vector<double> param){
	if(param.size()==this->param.size()){ 
	for(int i=0;i<this->param.size();++i){
		this->param.at(i).value=param.at(i);
	}
	return -1;
	}else{
		return PARAMETERCOUNT_DOESNT_MATCH;
	}
}
std::vector<fit_modul::parameter> fit_modul::getparams(){
	return this->param;
}


